package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.CarOrderPaymentMapper;
import com.ruoyi.system.domain.CarOrderPayment;
import com.ruoyi.system.service.ICarOrderPaymentService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
@Service
public class CarOrderPaymentServiceImpl implements ICarOrderPaymentService 
{
    @Autowired
    private CarOrderPaymentMapper carOrderPaymentMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public CarOrderPayment selectCarOrderPaymentById(Long id)
    {
        return carOrderPaymentMapper.selectCarOrderPaymentById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param carOrderPayment 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<CarOrderPayment> selectCarOrderPaymentList(CarOrderPayment carOrderPayment)
    {
        return carOrderPaymentMapper.selectCarOrderPaymentList(carOrderPayment);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param carOrderPayment 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertCarOrderPayment(CarOrderPayment carOrderPayment)
    {
        return carOrderPaymentMapper.insertCarOrderPayment(carOrderPayment);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param carOrderPayment 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateCarOrderPayment(CarOrderPayment carOrderPayment)
    {
        return carOrderPaymentMapper.updateCarOrderPayment(carOrderPayment);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCarOrderPaymentByIds(Long[] ids)
    {
        return carOrderPaymentMapper.deleteCarOrderPaymentByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteCarOrderPaymentById(Long id)
    {
        return carOrderPaymentMapper.deleteCarOrderPaymentById(id);
    }
}
